package cn.rkylin.oms.refund.dao;

import java.util.List;

import cn.rkylin.oms.refund.vo.EcRefundVO;

/**
 * 类名:IEcRefundDAO <br/>
 * 作用: 平台退款单数据访问对象. <br/>
 * 创建原因:	 提供平台退款单数据访问能力. <br/>
 * 创建时间:     2017年9月22日 下午2:08:27 <br/>
 * @author   zhanghao
 * @version  v1.0 
 */

public interface IEcRefundDAO {
    /**
     * selectEcRefund4AutoDownload:查询即将进系统的平台退款单. <br/>
     *
     * @author zhanghao
     * @param ecRefundVO
     * @return
     * @throws Exception 
     */
    public List<EcRefundVO> selectEcRefund4AutoDownload(EcRefundVO ecRefundVO) throws Exception;
    /**
     * selectEcRefund4AutoUpdate:查询即将更新的平台退款单. <br/>
     *
     * @author zhanghao
     * @param ecRefundVO
     * @return
     * @throws Exception 
     */
    public List<EcRefundVO> selectEcRefund4AutoUpdate(EcRefundVO ecRefundVO) throws Exception;

    /**
     * updateBatchInsertStatus:批量设置已经进系统的平台退款单的状态. <br/>
     *
     * @author zhanghao
     * @param ecRefundList
     * @return
     * @throws Exception 
     */
    public int updateBatchInsertStatus(List<EcRefundVO> ecRefundList) throws Exception;
    /**
     * updateBatchReturnInsertStatus:批量更新退货单插入状态. <br/>
     *
     * @author zhanghao
     * @param ecRefundList
     * @return
     * @throws Exception
     */
    int updateBatchReturnInsertStatus(List<EcRefundVO> ecRefundList) throws Exception;


}

